/*-
 * #%L
 * OfficeFloor Editor
 * %%
 * Copyright (C) 2005 - 2020 Daniel Sagenschneider
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * #L%
 */

.palette-indicator {
	-fx-background-color: rgba(128.0,128.0,128.0,1.0);
}

.palette {
	-fx-background-color: rgba(128.0,128.0,128.0,0.75); 
}

.parent {
	-fx-background-color: radial-gradient(radius 100.0%, #666, #ccc);
	-fx-background-radius: 20.0px;
	-fx-border-radius: 20.0px;
	-fx-padding: 8.0px;
}

.parent:hover {
	-fx-effect: dropshadow(three-pass-box, black, 10.0, 0.0, 4.0, 4.0);
}

.parent > .label {
	-fx-cursor: move;
	-fx-font-weight: bold;
}

.parent > HBox > .label {
	-fx-cursor: move;
	-fx-font-weight: bold;
}

.parent HBox {
	-fx-spacing: 0.5em;
	-fx-padding: 0.0 0.0 0.0 1.0em;
}

.parent .indent {
	-fx-pref-width: 30px;
}

.parent .connector {
	-fx-pref-width: 15.0px;
	-fx-pref-height: 15.0px;
}

.parent .action .image-view {
	-fx-scale-x: 0.5;
	-fx-scale-y: 0.5;
}

.child HBox {
	-fx-spacing: 0.5em;
	-fx-padding: 0.0 0.0 0.0 1.0em;
}

.action .image-view {
	-fx-cursor: hand;
}

.selected {
	-fx-border-color: black;
	-fx-border-width: 2.0;
}

.child {
	-fx-padding: 3.0px;
}

.connector-create {
	-fx-cursor: crosshair;
}

.connector-not-create {
	-fx-fill: #444;
	-fx-stroke: #444;
	-fx-opacity: 0.6;
}

.connection Path {
	-fx-stroke-width: 1.5;
}

.connection-not-delete Path {
	-fx-stroke: #888;
	-fx-stroke-dash-array: 6.0 6.0;
	-fx-opacity: 0.8;
}

.error-header:header .dismiss-error {
	-fx-padding: 0.03em 0.0 0.0 0.0; /* font size difference */
}

.error-header:header > .button-bar > .container {
    -fx-padding: 0.0;
}

.error-header:header > .button-bar > .container > .details-button {
	-fx-padding: 0.0;
}
